import { BaseEntity, Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity()
export class RoleAccess extends BaseEntity {
    @PrimaryGeneratedColumn()
    id: number;

    @Column({
        type: 'int'
    })
    roleId: number;

    @Column({
        type: 'int'
    })
    accessId: number;

    @Column({ type: "tinyint", default: 1 })
    status: 0 | 1;




}